home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1986 July
/
Ahoy_Magazine_86-07_1986_Double_L.d64
/
file fixing.txt
< prev
next >
Wrap
Text File
|
2022-10-26
|
4KB
|
128 lines
DISK DIRECTORY MANIPULATOR
by David Stidolph
Commodore files have names and other
information about them stored in the
disk directory. The disk directory is
organized into blocks, each of which
has 8 files. The program follows this
structure. If you don't see the file
you want in the first block, go to
the next one until you find it.
THE MAIN SCREEN:
The main screen tells you every thing
you need to know about each directory
block. On it is the file name, file
type, and the status of the file (if
the file has been deleted and if the
file is protected). A file is chosen
by using the up and down cursor keys
to highlight the file you want.
Below the list of files is the
command list. Once you have chosen
the file you want, if any, in this
block of 8 files, you use the cursor
left and right keys to highlight the
command you want. When the file and
command selectors are where you want,
you press the RETURN key. Most
commands are executed immediately,
but some commands need to use the
disk drive so it takes time (just
wait).
COMMAND SUMMARY
NAME: Sometimes it is neccesary to
change the file name or file type.
One example is having a series of
dashes seperating files like on your
introductory COMAL disk. Because the
DIRECTORY MANIPULATOR writes directly
to the directory it is possible to
create duplicate names. If you do not
want to change the file name (or file
type) just hit return.
PROTECT: Use this command to prevent
the file from being deleted
(scratched) accidentally. The only
way to erase such a file is by
UNPROTECTing it and deleting or by
'NEWING' the disk. When a 'cat'
command is done of a disk with a
protected file, you will see a '<'
next to the file type. That way you
will know it cannot be erased. This
applies to ALL files, not just COMAL
programs.
UNPROTECT: When you need to erase a
protected file without erasing the
entire disk you must use this command
to unprotect it first.
RESTORE: If you deleted (scratched) a
file and want it restored it is
possible. If you have written to the
disk after the file was deleted, your
file is probably destroyed. The
RESTORE command will try to
completely restore the file
(including the BAM). The procedure is
as follows:
1) Choose file (cursor up/down)
2) Choose NAME command
3) Press RETURN for file name
4) For file type, input original type
(what it was before it was deleted)
5) Choose RESTORE command
6) Press F1 to save changes to disk
If the file cannot be restored the
program will tell you. Then you
should validate the disk (to clean up
the BAM). To do this issue the
command: PASS "V0".
+: This command will go to the next
block. No changes are saved to the
disk with this command, so make sure
you have saved any changes with the
F1 key before moving to another
directory block.
-: this command will go to the
previous block. No changes are saved
to the disk with this command, so
make sure you have saved any changes
with the F1 key before moving to
another directory block.
QUIT: To end the program or to change
disks use this command. No changes
will be saved by this command, so
make sure you save them with the F1
key first.
FUNCTION KEYS
F1: The computer will save all
changes in the present directory
block to disk. Use this after you
change a file name, file type, or
used the PROTECT or UNPROTECT
commands.
F3: Restores this block to its
original state. To get rid of all
changes you could goto the next block
and come back, but it would take
time. To do it quickly, press the F3
key and the computer will read in the
original block.